package com.team.service.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.team.common.core.annotation.Excel;
import com.team.common.core.web.domain.BaseEntity;

/**
 * 服务管理对象 biz_service_item
 * 
 * @author panyue
 * @date 2025-07-09
 */
public class ServiceItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 服务项ID */
    private Long id;

    /** 服务编号 */
    @Excel(name = "服务编号")
    private String serviceNo;

    /** 服务名称（如：基础洗车、换机油） */
    @Excel(name = "服务名称", readConverterExp = "如=：基础洗车、换机油")
    private String name;

    /** 分类ID */
    @Excel(name = "分类ID")
    private Long categoryId;

    /** 商户ID */
    @Excel(name = "商户ID")
    private Long merchantId;

    /** 服务描述 */
    @Excel(name = "服务描述")
    private String description;

    /** 原价 */
    @Excel(name = "原价")
    private BigDecimal basePrice;

    /** 现价 */
    @Excel(name = "现价")
    private BigDecimal nowPrice;

    /** 服务图片 */
    @Excel(name = "服务图片")
    private String img;

    /** 状态（0启用、1停用） */
    @Excel(name = "状态", readConverterExp = "0=启用、1停用")
    private String status;

    /** 删除标志（0表示存在，1表示删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setServiceNo(String serviceNo) 
    {
        this.serviceNo = serviceNo;
    }

    public String getServiceNo() 
    {
        return serviceNo;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }

    public void setMerchantId(Long merchantId) 
    {
        this.merchantId = merchantId;
    }

    public Long getMerchantId() 
    {
        return merchantId;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setBasePrice(BigDecimal basePrice) 
    {
        this.basePrice = basePrice;
    }

    public BigDecimal getBasePrice() 
    {
        return basePrice;
    }

    public void setNowPrice(BigDecimal nowPrice) 
    {
        this.nowPrice = nowPrice;
    }

    public BigDecimal getNowPrice() 
    {
        return nowPrice;
    }

    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serviceNo", getServiceNo())
            .append("name", getName())
            .append("categoryId", getCategoryId())
            .append("merchantId", getMerchantId())
            .append("description", getDescription())
            .append("basePrice", getBasePrice())
            .append("nowPrice", getNowPrice())
            .append("img", getImg())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
